Simple_History\WP_REST_Events_Controller A

Total Complexity 56
Dependencies 9
Dependents 1
Total lines 902
Lines of code 612
Logical lines of code 177
Comment lines 177
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
C
32 24 101
get_items()
A
39 8 66
get_collection_params()
S
35 1 118
get_item_schema()
S
36 2 102
create_item()
S
48 4 37
register_routes()
S
41 1 73
get_item_permissions_check()
S
53 4 25
get_has_updates()
S
47 3 40
get_single_event()
S
63 2 11
get_items_permissions_check()
S
64 2 10
__construct()
S
73 1 5
get_item()
S
70 1 6
event_exists()
S
66 1 10
get_collection_params_for_has_updates()
S
73 1 5
create_item_permissions_check()
S
80 1 3